package com.pfc.others;

import java.util.Hashtable;

public class Fingerprint {

	String place;
	Hashtable<String, FingerprintData> huella;

	
	public Fingerprint() {
		this.place = "";
		this.huella = new Hashtable<String, FingerprintData>();
	}
	
	public Fingerprint(String place) {
		this.place = place;
		this.huella = new Hashtable<String, FingerprintData>();
	}

	public Fingerprint(Hashtable<String, FingerprintData> huella, String place) {
		super();
		this.huella = huella;
		this.place = place;
	}

	public Hashtable<String, FingerprintData> getHuella() {
		return huella;
	}

	public void setHuella(Hashtable<String, FingerprintData> huella) {
		this.huella = huella;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}
	
	public void put(String bssid, FingerprintData datos){
		this.huella.put(bssid, datos);
	}
	
	public FingerprintData getDatos(String bssid){
		return this.huella.get(bssid);
	}
	
	public boolean containsBSSID(String bssid){
		return this.huella.containsKey(bssid);
	}
}
